package com.hexinfo.dmpro.sparing.service;

import com.hexinfo.dmpro.sparing.dto.CreateTableDTO;

import java.util.List;
import java.util.Map;

public interface ImpalaService {

    String dele(String sql);

    /**
     * 万国稽核
     * @param sql
     * @return
     */
    Map<String,Object> count(String sql);

    /**
     * 金桥稽核
     * @param sql
     * @return
     */
    Map<String,Object> countJQ(String sql);

    String create(String sql);

    Map<String,Object> countHive(String sql);

    Map<String,Object> showTableHive(String dbTableName);

    Map<String,Object> createTableHive(String sql,String dbTableName);

    List<CreateTableDTO> showTable(String dbName,String flag);
}
